package cn.gemiman.daoyi.module.cms.controller.admin.articlecategory.vo;

import lombok.*;
import io.swagger.v3.oas.annotations.media.Schema;
import cn.gemiman.daoyi.framework.common.pojo.PageParam;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

import static cn.gemiman.daoyi.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 文章栏目分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class CmsArticleCategoryPageReqVO extends PageParam {

    @Schema(description = "站点编号", example = "30231")
    private Long appSiteId;

    @Schema(description = "站点标识", example = "31689")
    private String appId;

    @Schema(description = "父级栏目", example = "22453")
    private Long parentId;

    @Schema(description = "栏目标题")
    private String title;

    @Schema(description = "副标题")
    private String subTitle;

    @Schema(description = "导航栏")
    private Boolean navBar;

    @Schema(description = "栏目状态", example = "1")
    private Integer status;

    @Schema(description = "点击量")
    private Integer viewNum;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

}
